home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HamCall (October 1991)
/
HamCall (Whitehall Publishing)(1991).bin
/
amateur
/
w0rli
/
mb1202.exe
/
lha
/
CONFIG.DOC
< prev
next >
Wrap
Text File
|
1991-03-28
|
7KB
|
220 lines
W0RLI MailBox Configuration File Page 1
The Configuration Files.
The files CONFIG.MB, INIT.MB, PORTS.MB, MOTD.MB, and NEWUSER.MB
are text files that contains all site-specific information.
Edit these files for the proper parameters for your site.
The form $x is a variable text field. The "$x" is replaced by
the current value for that text.
$A - Total number of MailBox tasks.
$a - Number of active MailBox tasks.
$B - Users home bbs.
$D - The current date.
$F - Name of the users port.
$H - Hang at end of line (suppress carriage return). Use at end of line only.
$h - Number of held messages.
$I - Sysops name.
$L - Number of the last message in the MailBox
$M - Message number from current msg header.
$N - Number of active messages.
$n - Number of killed messages.
$O - Sysops callsign.
$P - Current Port ID
$Q - Sysops QTH
$T - Current time.
$t - Current task ID.
$U - Users callsign.
$V - Software version.
$W - Users name.
$X - Date user last logged in.
$Y - Time user last logged in.
$Z - Users zip code.
Any line beginning with ";" is ignored.
Sysop Information.
The basic information about the system owner and system operation is
contained in the file INIT.MB. Replace the information with your own.
If you feel you need to change the various WP lifetimes, be very
careful and think through the implications of any such change.
The Login Message.
The login message is contained in the file MOTD.MB
Variable text fields can be used in MOTD.MB, just as in CONFIG.MB
W0RLI MailBox Configuration File Page 2
The Port Definitions.
The file PORTS.MB contains the port configuration information.
There must be one line defining your printer (if any):
Printer type can be one of LPTx, COMx, or NONE
Examples:
Printer NONE
Printer COM5
Printer LPT2
There are three (or more) lines for each communications port.
The first line contains the port definition.
The second line is the port name.
The third line contains the port privileges and timing information.
Any lines following the third line are commands to send to the
TNC at the time the software is initialized.
The port definition line is made of three fields, seperated by blanks:
The first field contains the word "Port".
The second field is the port identifier.
The third field is the type of device connected to the port:
Console - This port is the local console.
Node - This port connects to G8BPQ switch software.
Serial - This port has a modem, computer, terminal, or printer connected.
TNC - This port has a TNC.
Examples:
Port A TNC
Port L Console
Port G Node
The second line contains the port name.
Examples:
144.91 Mhz
Local LAN link frequency.
The third line is made of several fields, seperated by blanks:
Field 1:
A list of characters that give information about the port:
B - Only BBS may connect on this port.
D - File download allowed from this port.
I - Kick off user that connects using illegal call.
P - If remote sysop is allowed, password is required.
R - Remote sysop allowed on this port (if user marked as sysop).
U - File upload allowed from this port.
1 - Echo monitored packets to the console.
2 - Echo user data and forwarding to the console.
3 - Echo TNC commands to the console.
Field 2: Connect timeout, in seconds.
Field 3: Disconnect timeout, in seconds.
Field 4: Number of concurrent forwards allowed on this port.
Field 5: Minute of the hour to attempt forwarding.
Note that any value above 59 will disable forwarding on the port.
Field 6: Number of command errors allowed before user kicked off.
W0RLI MailBox Configuration File Page 3
The Configuration File, section one.
The first section (to the first *** EOF) is the user file directory
path definitions. Three lines per path.
The first line is a single character path ID,
followed by "D" if downloading is allowed, and "U" if uploading is allowed.
The second line is the path, with trailing '\'.
The third line is the name of the path, as shown to the user.
The Configuration File, section two.
The second section (to the second *** EOF) is the designator translation list.
Each line in this section instructs the MailBox to take some action
when it recieves some specific kind of message. Each line has several
fields. The first field tells WHAT action to take (@, D, H, or T).
The second and following fields tell HOW to take that action.
Note that the character string matches all allow wildcards (See WILD.DOC).
If more than one action applies to a given message, they take
place in the order they exist in CONFIG.MB
Action code Meaning
@ Translate @ BBS field of message.
B File message by BID
D Use the distribution list given in field 4,
if TO matches field 2 and @ BBS matches field 3.
H Hold any message with this TO, FROM, or @ BBS.
K Kill after forwarding. Applies to bulletins only.
R Replace TO and @ BBS.
T Translate TO field of message.
The examples below show how to use this feature:
@ W0RLI - Remove the "@ BBS" if it is this BBS.
@ NCNET ALLCAN - Any message "@ NCNET" becomes "@ ALLCAN".
T SYSOPS SYSOP - Any message "TO SYSOPS" becomes "TO SYSOP".
R ALL AMSAT AMSAT USA - Bulletins to ALL@AMSAT become AMSAT@USA
H N1NERD - Hold any message to/from/at N1NERD
D * ALLUSA WORLD.DIS - Any message @ ALLUSA go to all calls
in file WORLD.DIS
D * NORCAL NCNET.DIS - Any message @ NORCAL go to all calls
in file NCNET.DIS
D * ALLCAN NCNET.DIS - So does any messages @ ALLCAN ...
D AMSAT * NCNET.DIS - ... and all messages TO AMSAT ...
B ARL* \bull\arrl\ - File ARRL fulletins by BID.
K 4SALE ALLUSA - Kill after forwarding.
*** EOF
There can be up to 35 destinations in a distribution list.
My file NCNET.DIS contains:
kb6irs
n6iya
ki6eh
aa4re
kb6owt
wa6rdh
w6pw
w0rli <- I put my own call in the list so the message will
not automatically kill until after I have read it.
The message is not forwarded to these stations in any special order.
If a station is busy then the MailBox will try again the next hour.
An "L ;" listing of a message with a distribution list shows the sysop the
status of forwarding to each station on a second "cc:" line. The calls to
which the message have been sent have an asterisk before them.
The Configuration File, section three (remainder of file).
Each item goes on one line. Various prompts, messages, and constants.